JavaScript Function Parameter is returning as Undefined

visit shbcf.ru